package com.ruoyi.wm.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.wm.mapper.WmMedicineInventoryMapper;
import com.ruoyi.wm.domain.WmMedicineInventory;
import com.ruoyi.wm.service.IWmMedicineInventoryService;
import com.ruoyi.common.core.text.Convert;

/**
 * 药品库存清算Service业务层处理
 * 
 * @author hpf
 * @date 2021-11-28
 */
@Service
public class WmMedicineInventoryServiceImpl implements IWmMedicineInventoryService 
{
    @Autowired
    private WmMedicineInventoryMapper wmMedicineInventoryMapper;

    /**
     * 查询药品库存清算
     * 
     * @param id 药品库存清算ID
     * @return 药品库存清算
     */
    @Override
    public WmMedicineInventory selectWmMedicineInventoryById(Long id)
    {
        return wmMedicineInventoryMapper.selectWmMedicineInventoryById(id);
    }

    /**
     * 查询药品库存清算列表
     * 
     * @param wmMedicineInventory 药品库存清算
     * @return 药品库存清算
     */
    @Override
    public List<WmMedicineInventory> selectWmMedicineInventoryList(WmMedicineInventory wmMedicineInventory)
    {
        return wmMedicineInventoryMapper.selectWmMedicineInventoryList(wmMedicineInventory);
    }

    @Override
    public List<WmMedicineInventory> selectWmMedicineInventoryListByName(String name) {
        return wmMedicineInventoryMapper.selectWmMedicineInventoryListByName(name);
    }

}
